<!DOCTYPE html>
<style>
* { font: 12px Ahem; }
div {float:left;}
#span {font-size:.98em}
</style>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
<p>crbug.com/493077: The text should be all on one line.</p>
<div><span id="span"><span></span></span> Text Text Text Text Text Text Text</div>

<p style="clear: left;">crbug.com/493077: The text should be all on one line.</p>
<div><span id="span"><span><span></span></span></span> Text Text Text Text Text Text Text</div>




